<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Facultad de Derecho - Universidad Diego Portales</title>
	<link href="/udp/css/StyleUdpFD.css" rel="stylesheet" type="text/css" />
    <link href="/udp/css/calendario.css" type="text/css" rel="stylesheet">
	<link href="/udp/css/style.css" rel="stylesheet" type="text/css" />
	<link href="/udp/css/menu_desplegable.css" rel="stylesheet" type="text/css" />
	
	<!-- CSS -->
<link rel="stylesheet" href="/udp/css/default.css" media="screen,projection" type="text/css" />
<link rel="stylesheet" href="/udp/css/lightbox.css" media="screen,projection" type="text/css" />

<!-- JavaScript -->
<script type="text/javascript" src="/udp/scripts/prototype.js"></script>
<script type="text/javascript" src="/udp/scripts/lightbox.js"></script>


		<script src="/udp/js/calendar.js" type="text/javascript"></script>
		<script src="/udp/js/calendar-es.js" type="text/javascript"></script>
		<script src="/udp/js/calendar-setup.js" type="text/javascript"></script>
		
		<script language="JavaScript" type="text/javascript" src='/udp/AjaxLib/ajax_reg_e_habilitante_validar_rut.js'></script>
		<script language="JavaScript" type="text/javascript" src='/udp/AjaxLib/ajax_reg_e_habilitante_validar_examenes_habilitante.js'></script>
<!--		<script language="JavaScript" type="text/javascript" src='/udp/AjaxLib/ajax_insertar_registro_alumno.js'></script>-->
		<script language="JavaScript" type="text/javascript" src='/udp/js/validaciones.js'></script>
		<script language="JavaScript" type="text/javascript" src='/udp/js/calendario.js'></script>
		<script language="JavaScript" type="text/javascript" src='/udp/js/validacion_registro_alumnos.js'></script>		
		<script language="JavaScript" type="text/javascript" src='/udp/js/validacion_registro_administrativos.js'></script>		
		<script language="JavaScript" type="text/javascript" src='/udp/js/consulta_examenes_alumnos.js'></script>
		<script language="JavaScript" type="text/javascript" src='/udp/js/funciones_grafico.js'></script>
<?php
require_once("funciones_sesion.php");
?> 
       	
    
</head>
<body>

<table width="100%" height="150"  border="0" align="center" bgcolor="#00364a" cellpadding="0" cellspacing="0" background="img/header_der.jpg">
  <tr>
  	<td width="50%" height="96" rowspan="2">
		<a href="/udp"><img src="/udp/img/LogoUDP.png" width="319" height="73" border="0" /></a>
	</td>
  	<td width="50%" align="right">
		<img align="absbottom" src="/udp/img/ControldeEgresados.gif" border="0" width="450px" /><br>
		<?php	
		if(isset($_COOKIE['sesion_administrativo']) && isset($_COOKIE['permisos_sesion'])){
			require_once("funcionesAdministrativo.php");
			$administrativo = ObtenerRegistroAdministrativo($_COOKIE['sesion_administrativo']);
			echo "<div class='login'><a href='/udp/Mantenciones/Mantencion_Administrativos.php?opcion=modificar&rutid=".$administrativo[0]."'><img src='/udp/img/security_f2.png' border=0 width='20'> ".$administrativo[2]." ".$administrativo[3]." ".$administrativo[4]."</a></div>";
		}
		?>
	</td>
  </tr>
  <tr>
  	<td>
		<?php
			if(!isset($_COOKIE['sesion_administrativo']) && !isset($_COOKIE['permisos_sesion'])){
				echo "<div class='opciones_menu_superior'><a href='/udp/'>Inicio</a></div>";
			}
			else{
				echo "<div class='opciones_menu_superior'><a href='/udp/cerrar_sesion.php'>Cerrar sesi&oacute;n</a></div>";
				echo "<div class='opciones_menu_superior'><a href='/udp/Acerca De.php'> Acerca de...</a></div>";
				echo "<div class='opciones_menu_superior'><a href='/udp/Informes'>Informes</a></div>";
				if($_COOKIE['permisos_sesion'] == 1){
					echo "<div class='opciones_menu_superior'><a href='/udp/Mantenciones/Mantencion_Alumnos.php'>Mantenci&oacute;n</a></div>";
				}
				
				
			}
		?>		
	</td>
  </tr>
</table>
